# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=virtme-ng
pkgver=1.24
pkgrel=0
pkgdesc="tool that allows to easily and quickly recompile and test a Linux kernel"
url="https://github.com/arighi/virtme-ng"
arch="all"
license="GPL-2-or-later"
depends="qemu python3"
makedepends="py3-setuptools py3-argcomplete"
options="!check" # no tests
subpackages="$pkgname-bash-completion"
source="$pkgname-$pkgver.tar.gz::https://github.com/arighi/virtme-ng/archive/refs/tags/v$pkgver.tar.gz"

package() {
	python setup.py install --root="$pkgdir/" --optimize=1
}

sha512sums="
af6a1b4a84f4ee8bb80697d439ca5742b434dff5b26d49bfb7bcc02ff90db847225d3d4ba4f7fb4391cb4de57c1842dcc28f9d501eeb1846f0d6e951c2a797c2  virtme-ng-1.24.tar.gz
"
